home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 2 / Atari Mega Archive CD - Volume 2.iso / 8bit / misc / trakball.doc < prev    next >
Text File  |  1995-04-22  |  2KB  |  50 lines

  1.  
  2. Taming your machine with a mouse has long been a dream of the ATARI 8-bitters.
  3. The mouse had it's origins around the 1960's, but did see much use until the
  4. 1980's when the Mac,ST and Amiga were unveiled. The mouse was also used by the
  5. engineering world as an input device for graphics workstations in the late
  6. 70's.  The Track-ball is a close relative to the Mouse. A track-ball is
  7. basicly the same device flipped over allowing the hand position the ball
  8. directly.
  9.  
  10. The Old ATARI did have some foresight in developing input devices for the 8-bit
  11. machines. The TrackBall is one of them.  The Track-ball allows smooth tracking
  12. of 2 dimensional motion and its associated velocity. Atari Basic is too slow
  13. so it can not be read with atari basic.  Faster langauges such ACTION and
  14. Assembly can read the velocity vectors directly from the joystick registers.
  15. (mention something about which bits represent the direction and speed.)
  16. One thing the Atari Trak Ball lacks is a separate button that can function as
  17. the left mouse button. Since the mouse and the Track-ball are virtually the
  18. same device it should be possible to read and ST mouse using the Trak-ball read
  19. code.  The 8-bits can read the ST left mouse if a pull-up resistor is added to
  20. pin 6.
  21.  
  22. Heres the pinout on the ST mouse.
  23. _____________
  24. \ 1 2 3 4 5 /
  25.  \ 6 7 8 9 /
  26.   ---------
  27.  
  28. 1- up/xb
  29. 2- down/xa
  30. 3- left/ya
  31. 4- right/yb
  32. 5- not connected
  33. 6- Fire/left mouse button
  34. 7- +5vdc
  35. 8- ground
  36. 9- Joystick 1 Fire/Right Mouse button.
  37.  
  38.  
  39. I have included 3 programs that demostrate the trak-balls ability to read
  40. direction and velocity.  One program is written in basic with a short assemble
  41. used to read the T-ball input vector. The other 2 programs are written in
  42. ACTION!
  43.                                           |  |  |
  44. Mike Buford                               |  |  |  8-bits Forever/
  45. Dflint02@ulkyvx.bitnet or                 |  |  |   Whether i buy a new
  46. CL150652@ulkyvm.bitnet                   /   |   \  machine or not!
  47. (An Action Programmer!)                 /    |    \
  48.  
  49.  
  50.